package org.zhao.nettydemos.lab04;

import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: xiaohui.zhao
 * @Date: 2021/9/17 14:56
 * @Description: 任务执行结果
 */
@Data
public class TaskResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务状态
     */
    private Integer taskStatus;

    /**
     * 任务消息
     */
    private String taskMessage;

    /**
     * 任务结果数据
     */
    private String taskResult;



    @Override
    public String toString(){
        return "TaskResult{"+
                "taskStatus="+taskStatus+
                ", taskMessage="+taskMessage+'\''+
                ", taskResult="+taskResult+
                '\''+'}';
    }


}